package com.company.cloud.uba.modules.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.company.cloud.common.bean.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 8_用户访问业务对象日志表
 * </p>
 *
 * @author anros
 * @since 2020-11-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("uba_user_browse_obj_log")
public class UserBrowseObjLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 公司编号
     */
    @ApiModelProperty(value = "公司编号")
    private String companyNo;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    /**
     * 三方用户ID
     */
    @ApiModelProperty(value = "三方用户ID")
    private Integer thirdUserId;

    /**
     * 匿名用户标记
     */
    @ApiModelProperty(value = "匿名用户标记")
    private String anonyToken;

    /**
     * 推荐码(分享码)
     */
    @ApiModelProperty(value = "推荐码(分享码)")
    private String referralCode;

    /**
     * 推荐人用户ID
     */
    @ApiModelProperty(value = "推荐人用户ID")
    private Integer referralUserId;

    /**
     * 关联业务ID分类
     */
    @ApiModelProperty(value = "关联业务ID分类")
    private String relIdType;

    /**
     * 关联业务ID
     */
    @ApiModelProperty(value = "关联业务ID")
    private String relId;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private Integer cman;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime cdt;

    /**
     * 创建人IP
     */
    @ApiModelProperty(value = "创建人IP")
    private String cip;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private Integer eman;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime edt;

    /**
     * 更新人IP
     */
    @ApiModelProperty(value = "更新人IP")
    private String eip;


}
